﻿@model WebUI.Models.FilesModel
@{
    ViewBag.Title = ViewBag.Name;
    AjaxOptions ajaxOpts = new AjaxOptions
{
    UpdateTargetId = "FileDetailsGrid",
    InsertionMode = InsertionMode.Replace
};
}
@section Header
{
@ViewBag.Name
}
@section Filters{
    @using (Ajax.BeginForm(MVC.Details.FileDetails(), ajaxOpts))
    {
        Html.RenderPartial(MVC.Shared.Views._Filters, Model.FilesFilter);
        @Html.Hidden("File", (string)ViewBag.FileName);
    }
}
@section Body
        {
    <div id="FileDetailsGrid">
        @{Html.RenderPartial(MVC.Details.Views._FileDetailsGrid, Model.FilesList);}
    </div>
}
